package com.youlai.boot.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youlai.boot.system.model.entity.SysDianciMaterialRetrospect;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.query.SysDianciMaterialRetrospectQuery;
import com.youlai.boot.system.model.vo.SysDianciMaterialRetrospectVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 原料追溯Mapper接口
 *
 * @author liwenbing
 * @since 2025-04-09 13:23
 */
@Mapper
public interface SysDianciMaterialRetrospectMapper extends BaseMapper<SysDianciMaterialRetrospect> {

    /**
     * 获取原料追溯分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return
     */
    Page<SysDianciMaterialRetrospectVO> getSysDianciMaterialRetrospectPage(Page<SysDianciMaterialRetrospectVO> page, SysDianciMaterialRetrospectQuery queryParams);

}
